home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
games
/
egavga
/
ultemp.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-03
|
5KB
|
133 lines
ECHO OFF
CLS
IF NOT %1!==! GOTO dstart
:cstart
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ WORLD EMPIRE INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ This install procedure assumes that the source disk │
ECHO │ is in drive A: and the target drive is Hard Drive C: │
ECHO │ │
ECHO │ A sub-directory named EMPIRE will be created on │
ECHO │ drive C:. The World Empire program files will then │
ECHO │ be extracted to the EMPIRE sub-directory. │
ECHO │ │
ECHO │ If you are installing from a source drive other than │
ECHO │ A: or to a destination other than C: please press │
ECHO │ [Ctrl-C] and Y to terminate. Then type INSTALL, the │
ECHO │ drive letter of the source drive and the drive letter │
ECHO │ of the target drive. │
ECHO │ │
ECHO │ EXAMPLE - INSTALL B: D: │
ECHO │ ( make sure your type the : ) │
ECHO │ │
ECHO │ Otherwise, strike any key to install World Empire. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
pause>nul
CLS
C:
CD\
MD EMPIRE
CD EMPIRE
echo Installing WORLD EMPIRE ...
echo:
A:#1empire
IF ERRORLEVEL 1 GOTO dfull
GOTO DONE
:dstart
IF %2!==! GOTO ERROR
IF %1==%2 GOTO ERROR
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ WORLD EMPIRE INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ You have choosen a source drive of %1 and a target │
ECHO │ drive of %2. (If this is not correct please press │
ECHO │ [Ctrl-C] and Y to terminate and try again.) │
ECHO │ │
ECHO │ A sub-directory named EMPIRE will be created on │
ECHO │ drive %2. The World Empire program files will then │
ECHO │ be extracted to the EMPIRE sub-directory. │
ECHO │ │
ECHO │ │
ECHO │ Strike any key to install World Empire. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO:
ECHO.
ECHO.
pause>nul
CLS
%2
CD\
MD EMPIRE
CD EMPIRE
%1#1EMPIRE
IF ERRORLEVEL 1 GOTO dfull
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 650,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ INCORRECT USAGE! │
ECHO │ │
ECHO │ EXAMPLE ─────────┐ ┌───── SOURCE DRIVE: │
ECHO │ INSTALL B: D: │
ECHO │ │ │└───DESTINATION DRIVE: │
ECHO │ SPACE ────────┴──┘ │
ECHO │ │
ECHO │ ( make sure you type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────┐
ECHO │ World Empire installation complete! │
ECHO │ │
ECHO │ Please type EMPIRE and press Enter to start. │
ECHO └──────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
:END